package com.yan.mybatis.pojo;


public class TEmployees {

  private long id;
  private String name;
  private double salary;
  private long deptId;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public double getSalary() {
    return salary;
  }

  public void setSalary(double salary) {
    this.salary = salary;
  }


  public long getDeptId() {
    return deptId;
  }

  public void setDeptId(long deptId) {
    this.deptId = deptId;
  }

  @Override
  public String toString() {
    return "TEmployees{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", salary=" + salary +
            ", deptId=" + deptId +
            '}';
  }
}
